<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<?php include_http_metas() ?>
<?php include_metas() ?>

<?php include_title() ?>

<link rel="shortcut icon" href="/favicon.ico" />

</head>
<body>
<div id="main-div">
		<div id="header">
		<?php include_partial('global/header') ?>
		</div>
		<div id="info-bar">
			<?php if ($sf_user->isAuthenticated()): ?>
			<?php use_helper('Javascript') ?>
			<?php echo "Bienvenido(a), " . $sf_user->getUsername() . ". " ?>
			<?php echo link_to_remote('Perfil', array(
				'update' => 'modulo',
				'url' => '@user_profile',
				'loading' => visual_effect('appear','loading').
								visual_effect('highlight','modulo',array('duration' => 0.5)),
				'complete' => visual_effect('fade','loading'),
			)); ?> | 
			<?php echo link_to('Salir','@sf_guard_signout'); ?>
			<?php endif; ?>
		</div>
		<div id="contenedor">
			<div id="modulo-user">
				<?php echo $sf_content ?>
			</div>
		</div>
		<div id="footer">
			<?php include_partial('global/footer') ?>
		</div>
	</div>
</body>
</html>